import {PipeTransform, Injectable, ArgumentMetadata, Inject} from '@nestjs/common';

@Injectable()
export class CustomProviderInjectPipe implements PipeTransform<string, string> {
    constructor(@Inject('customPipeInject') private customPipeInject: string) {
    }

    transform(value: string, metadata: ArgumentMetadata): string {
        console.log(this.customPipeInject)
        return value
    }
}
